package model;

import annotation.Table;
import annotation.TableField;
import annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 用户
 *
 * @author caoqianfan
 * @date 2024/7/15 下午2:26
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Table("demo_jdbc_user")
public class User {

    @TableId
    @TableField
    private Integer id;

    @TableField
    private String name;

    @TableField
    private LocalDateTime createTime;

    @TableField
    private LocalDateTime updateTime;
}
